package com.lzy.chat.a_entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
public class User {
    private Integer id;
    private String username;
    @JsonIgnore
    private String password;
    @JsonIgnore
    private String salt;
    private String avatar;
    private Integer sex;
    private Date birth;
    private String location;
    private String phone;
    private String email;
}
